package com.binance.assetservice.vo.request.product;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotEmpty;

import com.binance.master.commons.ToString;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * @author wangxiao
 */
@ApiModel("设置下单类型的请求对象")
@Getter
@Setter
public class SetProductTypeRequest extends ToString {
    /**
     * 
     */
    private static final long serialVersionUID = -3143783786922424179L;
    @ApiModelProperty(value = "交易对", required = true)
    @NotEmpty
    private String symbol;
    @ApiModelProperty(required = true)
    @NotNull
    private Boolean enableMarket;
    @ApiModelProperty(required = true)
    @NotNull
    private Boolean enableStopLoss;
    @ApiModelProperty(required = true)
    @NotNull
    private Boolean enableStopLossLimit;
    @ApiModelProperty(required = true)
    @NotNull
    private Boolean enableIceberg;
    @ApiModelProperty(required = true)
    @NotNull
    private Boolean enableTakeProfit;
    @ApiModelProperty(required = true)
    @NotNull
    private Boolean enableTakeProfitLimit;

}
